package org.yejiali.annotaion;

import org.aspectj.lang.annotation.Around;
import org.springframework.beans.factory.annotation.Autowired;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author:yejiali
 * @Date:2025/3/5-03-05-8:34
 * @Decsription:org.yejiali.annotaion 自定义注解，实现日志记录
 * @Version:1.0
 */
@Retention(RetentionPolicy.RUNTIME) //通过反射获取该注解
@Target({ElementType.METHOD})  //注解在方法上
public @interface SystemLog {
    //通过属性获取业务名称
    String businessName() default "";
}
